package com.unicom.office.node;

import com.unicom.office.func.FuncCommon;
import com.unicom.office.type.TypeItem;
import com.unicom.office.func.FuncBase;
import com.unicom.office.unit.OfficeUnit;
import com.unicom.office.unit.TextboxUnit;

public class TextboxNode extends OfficeNode {
    public TextboxNode(Object source) {
        super(source);
    }

    public OfficeUnit createUnit() {
        return new TextboxUnit();
    }

    public boolean testChildType(FuncCommon child) {
        return true;
    }

    public TypeItem getType() {
        return null;
    }
}
